#include <stdio.h>
#include <stdlib.h>

int cmp(const void* a, const void* b) {
    return *(int*)a - *(int*)b;
}

struct Node {
    int data;
    struct Node* next;
};

struct Node* head = NULL;
struct Node* tail = NULL;

int main() {
    int inp[100100], len = 0;
    while (scanf("%d", &inp[len++]) != EOF);
    len -= 2;
    qsort(inp, len, sizeof(int), cmp);
    for (int i = 0; i < len; i++) printf("%d ", inp[i]);
    return 0;
}
